<head>
    <script src="https://code.jquery.com/jquery-3.3.1.min.js"></script>
    <script language="javascript" src="__static__/common/sign.js"></script>
    <script language="javascript"  src="__static__/common/json.js"></script>
    <script language="javascript" src="__static__/common/md5.js"></script>
    <script language="javascript" src="__static__/common/base64.js"></script>
    <script language="javascript" src="__static__/js/url.js"></script>

</head>

<body style="height: 10px">
<div class="topbar-wrap white">
    <div class="topbar-inner clearfix">
        <div class="topbar-logo-wrap clearfix">
            <h1 class="topbar-logo none"><a href="index.html" class="navbar-brand">后台管理</a></h1>
            <ul class="navbar-list clearfix">
                <li><a class="on" href="index.html">首页</a></li>
                <li><a href="#" target="_blank" onclick="user()">网站首页</a></li>
            </ul>
        </div>
        <div class="top-info-wrap">
            <ul class="top-info-list clearfix">
                <li><a href="#">{$admin_info.username}</a></li>
                <li><a href="#" onclick="">修改密码</a></li>
                <li><a onclick="admin_logout()">退出</a></li>
            </ul>
        </div>
    </div>
</div>
<script>
    //退出登录
    function admin_logout() {
        location.href=admin_url_list.admin_logout;
    }
    //跳转首页
    function user() {
        location.href=url_list.user_index;
    }
</script>
</body>

